home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / c_toolbx.arc / SORTSPEC.H < prev    next >
Encoding:
Text File  |  1988-03-30  |  514 b   |  18 lines

  1. /*  sortspec.h - defines sort spec data structure */
  2.  
  3. typedef  struct
  4.   {
  5.      int   (*pget)   () ;    /* holds address of get rec. fun. */
  6.      int   (*pput)   () ;    /*   "      "     " put rec. fun. */
  7.      int   (*pcomp)  () ;    /*   "      "     " compare  fun. */
  8.      int   ftype    ;    /* file typr (ASCII / BINARY )      */
  9.      int   rec_size    ;    /* record size */
  10.   }  SORTSPEC ;
  11.  
  12.  
  13. /* declare the following variable in the source file  */
  14. /* SORTSPEC   sspec  ; or    */
  15. /* extern  SORTSPEC  sspec ;    */
  16.  
  17.  
  18.